package com.shuai.module.system.handler.convert;


import com.shuai.module.system.domain.vo.socail.SocialUserBindReqVO;
import com.shuai.module.system.dto.social.SocialUserBindReqDTO;
import org.mapstruct.factory.Mappers;
import org.mapstruct.Mapper;

@Mapper
public interface SocialUserConvert {

    SocialUserConvert INSTANCE = Mappers.getMapper(SocialUserConvert.class);

    // @Mapping(source = "reqVO.type", target = "socialType")
    SocialUserBindReqDTO convert(Long userId, Integer userType, SocialUserBindReqVO reqVO);

}
